package com.alcatellucent.ldap;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.alcatellucent.R;

public class HomeScreenActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.screen_motorola);
	}

	public void onClick(View view) {
		Intent intent;
		switch (view.getId()) {
		case R.id.imageButton1:
			intent = new Intent(this, CompanyActivity.class);
			startActivity(intent);
			break;

		case R.id.imageButton2:
			intent = new Intent(this, CountryActivity.class);
			startActivity(intent);
			break;

		case R.id.imageButton3:
			intent = new Intent(this, DepartmentActivity.class);
			startActivity(intent);
			break;

		case R.id.imageButton4:
			intent = new Intent(this, CityActivity.class);
			startActivity(intent);
			break;

		case R.id.imageButton5:
			intent = new Intent(this, GroupActivity.class);
			startActivity(intent);
			break;

		case R.id.imageButton6:
			intent = new Intent(this, UserActivity.class);
			startActivity(intent);
			break;

		case R.id.imageButton7:
			intent = new Intent(this, RoomActivity.class);
			startActivity(intent);
			break;

		case R.id.imageButton8:
			intent = new Intent(this, MCSActivity.class);
			startActivity(intent);
			break;	
		/*
		 * case R.id.imageButton8: intent = new
		 * Intent(this,DirectoryActivity.class); startActivity(intent); break;
		 */

		}

	}
}
